package ru.averta.notes.service.tag;

import org.springframework.beans.factory.annotation.Autowired;

import ru.averta.notes.dao.TagDao;

public class TagInterceptorLoader {

	@Autowired
	private TagInterceptor tagInterceptor;

	@Autowired
	TagManager tm;

	public void loadInterceptorObjects() {
		tagInterceptor.setTagManager(tm);
	}
	
	public TagInterceptor getTagInterceptor() {
		return tagInterceptor;
	}

	public void setTagInterceptor(TagInterceptor tagInterceptor) {
		this.tagInterceptor = tagInterceptor;
	}

	public TagManager getTm() {
		return tm;
	}

	public void setTm(TagManager tm) {
		this.tm = tm;
	}
	
}
